<div>
{if count($Module.messages) > 0}
    {foreach $Module.messages as $message}
    <div class="notification {$message->getType()}">
        <span></span>
        <div class="text">
            <p>
                <strong>{$message->getTitle()}</strong>
                {$message->getMessage()}
            </p>
        </div>
    </div>
    {/foreach}
{/if}
</div>